cache end line, for rapid testing whether an iterator is the end iterator
authorHavoc Pennington <hp@pobox.com>
Thu, 31 Aug 2000 04:20:59 +0000 (04:20 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Thu, 31 Aug 2000 04:20:59 +0000 (04:20 +0000)
commit41b5d5d26dec872ec46a5deba4a2357eaca10398
treec95214b78e57ad36df421b4c8778d4230fbbd833
parenta9de95392ebcdf6101a325c946a965e60b840ad0
cache end line, for rapid testing whether an iterator is the end iterator

2000-08-31  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbtree.c (GtkTextBTree): cache end line,
for rapid testing whether an iterator is the end iterator
(gtk_text_btree_new): init end line cache
(gtk_text_line_is_last): use fast cached line to
see if we're the last line.
(get_last_line): use cached line here too, should
speed up some random unrelated code.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextbtree.c
gtk/gtktextbtree.h
gtk/gtktextiter.c